package com.xingmang.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/20 10:44
 */
@ApiModel("登录请求")
@Data
public class LoginDTO {
    @ApiModelProperty(value = "登录名",required = true)
    @NotEmpty(message = "登录名称不能为空")
    private String loginname;
    @ApiModelProperty(value = "密码",required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
}
